package com.maxlen.order.feign;

import com.maxlen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "store-member")
public interface MemberFeignService {

    @GetMapping("/member/member/getMemberIntegration/{memberId}")
    R getMemberIntegration(@PathVariable("memberId") Long memberId);

    @GetMapping("/member/memberreceiveaddress/getAddress/{memberId}")
    R getAddress(@PathVariable("memberId") Long memberId);

}
